package com.phs.main;

import com.phs.main.common.MybatisPlusGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.phs.main.web.mapper")
public class Application {

	public static void main(String[] args) {
//		gen();
		run();
	}

	private static void gen() {
		new MybatisPlusGenerator().generator();
	}

	private static void run() {
		SpringApplication.run(Application.class);
	}

}
